package com.ttg.web.task;

import com.ttg.model.pojo.TagInfo;
import com.ttg.model.pojo.VipInfo;
import com.ttg.web.service.ManageTagInfoService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;



@Component
@EnableScheduling
@Slf4j
public class TagDateEditTask {

//    @Autowired
//    private ManageTagInfoService manageTagInfoService;
//
//    /**
//     * 更新会员绑定标签
//     */
//    @Scheduled(cron = "0 0 1 1 * ? ")
//    @Async("taskAsyncPool")
//    public void vipTagBind() {
//        log.info("【TagDateEditTask vipTagBind 更新会员绑定标签】 start");
//        manageTagInfoService.vipTagBind(null);
//        log.info("【TagDateEditTask vipTagBind 更新会员绑定标签】 end");
//    }
//
//
//    /**
//     * 更新商户绑定标签
//     */
//    @Scheduled(cron = "0 0 1 1 * ? ")
//    @Async("taskAsyncPool")
//    public void mctTagBind() {
//        log.info("【TagDateEditTask mctTagBind 更新商户绑定标签】 start");
//        manageTagInfoService.mctTagBind(null);
//        log.info("【TagDateEditTask mctTagBind 更新商户绑定标签】 end");
//    }
}
